package com.yuerlive.paperplane.database;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;

import com.yuerlive.paperplane.data.ZhihuDailyNewsQuestion;
import com.yuerlive.paperplane.database.dao.ZhihuDailyNewsDao;

/**
 * Created by Admin on 2017/10/13.
 */
@Database( entities = {
        ZhihuDailyNewsQuestion.class
},version = 1)
public abstract class AppDatabase extends RoomDatabase{
    static final String DATABASE_NAME="paper-plane-db";
    public abstract ZhihuDailyNewsDao zhihuDailyNewsDao();

}
